LEADTOOLS Medical (Leadtools.Medical.Caching assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
Insert(String,Byte[],CacheItemPriority) Method
See Also 
Leadtools.Medical.Caching.Storage Namespace > IStorageProvider Interface > Insert Method : Insert(String,Byte[],CacheItemPriority) Method



Id
A System.String that identifies the item to be stored.
data
The an array of System.Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.

The Insert(String,Byte[],CacheItemPriority) Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Id
A System.String that identifies the item to be stored.
data
The an array of System.Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
Adds a new item into the user context store.

Syntax

Visual Basic (Declaration) 
Overloads Sub Insert( _
   ByVal Id As String, _
   ByVal data() As Byte, _
   ByVal priority As CacheItemPriority _
) 
Visual Basic (Usage)Copy Code
Dim instance As IStorageProvider
Dim Id As String
Dim data() As Byte
Dim priority As CacheItemPriority
 
instance.Insert(Id, data, priority)
C# 
void Insert( 
   string Id,
   byte[] data,
   CacheItemPriority priority
)
C++/CLI 
void Insert( 
   String^ Id,
   array<byte>^ data,
   CacheItemPriority priority
) 

Parameters

Id
A System.String that identifies the item to be stored.
data
The an array of System.Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also